package cn.matezk.cloud.dao;

import cn.matezk.cloud.dto.BaseDto;
import cn.matezk.cloud.model.DeviceBind;
import cn.matezk.cloud.model.SecretKey;
import cn.matezk.cloud.vo.SecretKeyVo;

import java.util.List;

public interface SecretKeyDao {
    List<SecretKeyVo> query(BaseDto baseDto);
    List<SecretKey> selectAll();
    SecretKey selectByAppKey(String appKey);
    int insertSelective(SecretKey secretKey);
    int updateByPrimaryKeySelective(SecretKey secretKey);
    int bind(DeviceBind deviceBind);
    int unbind(DeviceBind deviceBind);
}
